package com.mytx.pojo;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

public class Forward {
    private String fId;

    private String manager;

    private String tId;

    private String oId;

    private BigDecimal amount;

    private BigDecimal donationAmount;//没有经过主题转发，直接捐赠给用户的金额总计

    private String title;

    private String reason;

    private String receipt;

    private String video;

    private List<String> pictures;//mybatis 生成的这个是String ,从mysql 读取或者保存数据的时候，使用了 com.mytx.mapper.ListTypeHandler

    private String address;

    private LatLng location;

    private Integer commentSize;

    private Integer praiseSize;

    private Integer status;

    private Integer type;

    private Date updated;

    private Date created;

    private User targetUser; //目标用户信息，受赠者用户信息，

    private User managerUser;

    private Topic attachTopic; // 此捐赠依附的主题（主体）

    private List<MyFile> myFileList;

    public Forward(String fId, String manager, String tId, String oId, BigDecimal amount, BigDecimal donationAmount, String title, String reason, String receipt, String video, List pictures, String address, LatLng location, Integer commentSize, Integer praiseSize, Integer status, Integer type, Date updated, Date created) {
        this.fId = fId;
        this.manager = manager;
        this.tId = tId;
        this.oId = oId;
        this.amount = amount;
        this.donationAmount = donationAmount;
        this.title = title;
        this.reason = reason;
        this.receipt = receipt;
        this.video = video;
        this.pictures = pictures;
        this.address = address;
        this.location = location;
        this.commentSize = commentSize;
        this.praiseSize = praiseSize;
        this.status = status;
        this.type = type;
        this.updated = updated;
        this.created = created;
    }

    public Forward() {
        super();
    }

    public String getfId() {
        return fId;
    }

    public void setfId(String fId) {
        this.fId = fId == null ? null : fId.trim();
    }

    public String getManager() {
        return manager;
    }

    public void setManager(String manager) {
        this.manager = manager == null ? null : manager.trim();
    }

    public String gettId() {
        return tId;
    }

    public void settId(String tId) {
        this.tId = tId == null ? null : tId.trim();
    }

    public String getoId() {
        return oId;
    }

    public void setoId(String oId) {
        this.oId = oId == null ? null : oId.trim();
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public BigDecimal getDonationAmount() {
        return donationAmount;
    }

    public void setDonationAmount(BigDecimal donationAmount) {
        this.donationAmount = donationAmount;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title == null ? null : title.trim();
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason == null ? null : reason.trim();
    }

    public String getReceipt() {
        return receipt;
    }

    public void setReceipt(String receipt) {
        this.receipt = receipt == null ? null : receipt.trim();
    }

    public String getVideo() {
        return video;
    }

    public void setVideo(String video) {
        this.video = video == null ? null : video.trim();
    }

    public List<String> getPictures() {
        return pictures;
    }

    public void setPictures(List<String> pictures) {
        this.pictures = pictures;
    }

    public Integer getCommentSize() {
        return commentSize;
    }

    public void setCommentSize(Integer commentSize) {
        this.commentSize = commentSize;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public LatLng getLocation() {
        return location;
    }

    public void setLocation(LatLng location) {
        this.location = location;
    }

    public Integer getPraiseSize() {
        return praiseSize;
    }

    public void setPraiseSize(Integer praiseSize) {
        this.praiseSize = praiseSize;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public User getTargetUser() {
        return targetUser;
    }

    public void setTargetUser(User targetUser) {
        this.targetUser = targetUser;
    }

    public User getManagerUser() {
        return managerUser;
    }

    public void setManagerUser(User managerUser) {
        this.managerUser = managerUser;
    }

    public Topic getAttachTopic() {
        return attachTopic;
    }

    public void setAttachTopic(Topic attachTopic) {
        this.attachTopic = attachTopic;
    }

    public List<MyFile> getMyFileList() {
        return myFileList;
    }

    public void setMyFileList(List<MyFile> myFileList) {
        this.myFileList = myFileList;
    }
}